Optimal. Leaf size=54 \[ \frac {x (A b-a B)}{a b \sqrt {a+b x^2}}+\frac {B \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {385, 217, 206} \[ \frac {x (A b-a B)}{a b \sqrt {a+b x^2}}+\frac {B \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{b^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 217
Rule 385
Rubi steps
\begin {align*} \int \frac {A+B x^2}{\left (a+b x^2\right )^{3/2}} \, dx &=\frac {(A b-a B) x}{a b \sqrt {a+b x^2}}+\frac {B \int \frac {1}{\sqrt {a+b x^2}} \, dx}{b}\\ &=\frac {(A b-a B) x}{a b \sqrt {a+b x^2}}+\frac {B \operatorname {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{b}\\ &=\frac {(A b-a B) x}{a b \sqrt {a+b x^2}}+\frac {B \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 70, normalized size = 1.30 \[ \frac {a^{3/2} B \sqrt {\frac {b x^2}{a}+1} \sinh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )+\sqrt {b} x (A b-a B)}{a b^{3/2} \sqrt {a+b x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.88, size = 168, normalized size = 3.11 \[ \left [-\frac {2 \, {\left (B a b - A b^{2}\right )} \sqrt {b x^{2} + a} x - {\left (B a b x^{2} + B a^{2}\right )} \sqrt {b} \log \left (-2 \, b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right )}{2 \, {\left (a b^{3} x^{2} + a^{2} b^{2}\right )}}, -\frac {{\left (B a b - A b^{2}\right )} \sqrt {b x^{2} + a} x + {\left (B a b x^{2} + B a^{2}\right )} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right )}{a b^{3} x^{2} + a^{2} b^{2}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.44, size = 51, normalized size = 0.94 \[ -\frac {B \log \left ({\left | -\sqrt {b} x + \sqrt {b x^{2} + a} \right |}\right )}{b^{\frac {3}{2}}} - \frac {{\left (B a - A b\right )} x}{\sqrt {b x^{2} + a} a b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 54, normalized size = 1.00 \[ \frac {A x}{\sqrt {b \,x^{2}+a}\, a}-\frac {B x}{\sqrt {b \,x^{2}+a}\, b}+\frac {B \ln \left (\sqrt {b}\, x +\sqrt {b \,x^{2}+a}\right )}{b^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.01, size = 46, normalized size = 0.85 \[ \frac {A x}{\sqrt {b x^{2} + a} a} - \frac {B x}{\sqrt {b x^{2} + a} b} + \frac {B \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{b^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.77, size = 53, normalized size = 0.98 \[ \frac {B\,\ln \left (\sqrt {b}\,x+\sqrt {b\,x^2+a}\right )}{b^{3/2}}+\frac {A\,x}{a\,\sqrt {b\,x^2+a}}-\frac {B\,x}{b\,\sqrt {b\,x^2+a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 10.20, size = 60, normalized size = 1.11 \[ \frac {A x}{a^{\frac {3}{2}} \sqrt {1 + \frac {b x^{2}}{a}}} + B \left (\frac {\operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{b^{\frac {3}{2}}} - \frac {x}{\sqrt {a} b \sqrt {1 + \frac {b x^{2}}{a}}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________